// import { Axios } from "axios";
import axios from "utils/Axios";

//获取科室列表
export const doGetDepList = () => {
  return axios.get("/api/knowledgeBase/findDepartment");
};

// 列表
export const findSickCircleList = async (departmentId: number) => {
  const resp = await axios.get("/api/sickCircle/findSickCircleList", {
    params: { departmentId, page: 1, count: 5 },
  });
  return resp;
};
// 详情
export const findSickCircleInfo = async (sickCircleId: number) => {
  const resp = await axios.get("/api/sickCircle/findSickCircleInfo", {
    params: { sickCircleId },
  });
  console.log(resp);
  return resp;
};
